package com.movie.service.Impl;

import com.movie.beans.SysMenuRole;
import com.movie.dao.SysMenuRoleDAO;
import com.movie.service.SysMenuRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description : 菜单角色关联业务
 * @Author : nlw
 * @Date : 2021/8/27
 */
@Service
public class SysMenuRoleServiceImpl implements SysMenuRoleService {
    @Resource
    private SysMenuRoleDAO menuRoleDAO;

    @Override
    public List<SysMenuRole> selectMenuByRole(Long roleId) {
        return menuRoleDAO.selectMenuByRole(roleId);
    }
}
